package cn.tedu.spring.scope;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.util.AbstractCollection;

public class TestOrder {
    public static void main(String[] args) {
        ApplicationContext context=new AnnotationConfigApplicationContext
                ("cn.tedu.spring.scope");;
                Order irder1=context.getBean(Order.class);
        System.out.println(irder1);

    }
}
